package com.silverbox.shopper.entity;

import java.io.Serializable;

/**
box_goods_discount
 */
public class GoodsDiscount implements Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = 8586372180221721453L;

	/**
     */
    private Integer id;

    /**
     * 商品ID
     */
    private Integer goodsId;

    /**
     * 商品名称
     */
    private String goodsName;

    /**
     * 机器ID
     */
    private Long machineId;

    /**
     * 原价
     */
    private Double originalPrice;

    /**
     * 店铺ID
     */
    private Integer shopperChildId;

    /**
     * 商家id
     */
    private Integer shopperId;

    /**
     * 1：非打折 2：爆款
     */
    private Byte type;

    /**
     * 是否有效
     */
    private Byte isValid;

    /**
     * 第三方商品id
     */
    private String thirdGoodsId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName == null ? null : goodsName.trim();
    }

    public Long getMachineId() {
        return machineId;
    }

    public void setMachineId(Long machineId) {
        this.machineId = machineId;
    }

    public Double getOriginalPrice() {
        return originalPrice;
    }

    public void setOriginalPrice(Double originalPrice) {
        this.originalPrice = originalPrice;
    }

    public Integer getShopperChildId() {
        return shopperChildId;
    }

    public void setShopperChildId(Integer shopperChildId) {
        this.shopperChildId = shopperChildId;
    }

    public Integer getShopperId() {
        return shopperId;
    }

    public void setShopperId(Integer shopperId) {
        this.shopperId = shopperId;
    }

    public Byte getType() {
        return type;
    }

    public void setType(Byte type) {
        this.type = type;
    }

    public Byte getIsValid() {
        return isValid;
    }

    public void setIsValid(Byte isValid) {
        this.isValid = isValid;
    }

    public String getThirdGoodsId() {
        return thirdGoodsId;
    }

    public void setThirdGoodsId(String thirdGoodsId) {
        this.thirdGoodsId = thirdGoodsId == null ? null : thirdGoodsId.trim();
    }
}